using Gateway.IApplication.BaseInput;
using Gateway.IApplication.DataDic.Input;
using Gateway.Infrastructure.AutoDI;

namespace Gateway.IApplication.DataDic;

/// <summary>
/// 数据字典服务
/// </summary>
public interface IDataDicApp : IDependency
{
    /// <summary>
    /// 添加
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<string> Add(CreateDataDicInput input);

    /// <summary>
    /// 编辑
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<bool> Update(UpdateDataDicInput input);

    /// <summary>
    /// 移除
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<bool> Remove(RemoveInput input);

    /// <summary>
    /// 禁用
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<bool> Disable(DisableInput input);
}